package com.wish.wishhouse_resource.service;

import com.github.pagehelper.PageInfo;
import com.wish.wishhouse_resource.entity.TbRoomInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import dto.houseResourceDto.RoomDto;
import dto.houseResourceDto.PageRoomStatusDto;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author zhangshuxin
 * @since 2021-03-28
 */
public interface ITbRoomInfoService extends IService<TbRoomInfo> {

    List<TbRoomInfo> listAll(RoomDto roomDto);

    TbRoomInfo queryGetOne(String recommended);

    List<Map<String, Object>> getPaymentMortgageList();

    List<Map<String, Object>> getPaymentPayList();
    String qxRecommendedRooms(String[] recommendeds);

    String recommendedRooms(String[] recommendeds);

    PageInfo<TbRoomInfo> pageList(RoomDto roomDto);

    Map<String, Object> roomStatusList(PageRoomStatusDto pageRoomStatusDto);
}
